using Juli.Mes.MongoDb;
using Lion.AbpPro.FileManagement;
using Microsoft.Extensions.DependencyInjection;

namespace Juli.Mes
{
    [DependsOn(
        typeof(MesDomainModule),
        typeof(MesApplicationContractsModule),
        typeof(BasicManagementApplicationModule),
        typeof(NotificationManagementApplicationModule),
        typeof(DataDictionaryManagementApplicationModule),
        typeof(LanguageManagementApplicationModule),
        typeof(MesFreeSqlModule),
        typeof(MesMongoDbModule),
        typeof(AbpAutoMapperModule),
        typeof(FileManagementApplicationModule)
        )]
    public class MesApplicationModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddAutoMapperObjectMapper<MesApplicationModule>();
            Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddMaps<MesApplicationModule>();
            });
            
        }


    }
}
